package com.yztc.orangeentertainment.ui.main.subscribefragment.contentitem;

import android.content.Context;

import com.yztc.orangeentertainment.base.IModle;
import com.yztc.orangeentertainment.base.IPresenter;
import com.yztc.orangeentertainment.base.IView;
import com.yztc.orangeentertainment.bean.starconbean.CategoryDataBean;

import java.util.List;
import java.util.Map;

/**
 * Created by My on 2016/10/10.
 */
public class CategoryContract {
    interface View extends IView {
        void getCategoryListSuccess(CategoryDataBean categoryDataBean);

        void getCategoryListFail(String msg);
    }

    interface Modle extends IModle {
        void getCategoryAll(String type, Map<String,String> map,OnLoadCategoryListener loadCategoryListener);
    }

    interface Presenter extends IPresenter {
        public void getCategoryFromNet(Map<String,String> map);
    }
}